package com.sx.baseproject.framework.net.base;

import android.util.Log;

import com.example.mvvm.base.vm.BaseViewModel;

import io.reactivex.Observable;
import io.reactivex.Observer;
import io.reactivex.annotations.NonNull;
import io.reactivex.observers.DisposableObserver;

/**
 * @Description
 * @Author 梁浩文
 * @Date 2021/10/21 11:47
 */
public abstract class ApiResponseConsumer<T> extends DisposableObserver<T> {

    @Override
    public void onError(@NonNull Throwable e) {

        Log.i("ApiResponseConsumer", "onError: "+e.getMessage());
    }

    @Override
    public void onComplete() {

    }
}
